<?php
//specifies the default authentication source and type (Modbase MySQL Database)

/* You can create a read-only user for the authentication connection so 
	that any malicious attacks are not able to modify the database. */

$C = array();
$db = array();
$db{'dbhost'} = 'localhost';
$db{'dbname'} = 'dbname';
$db{'dbuser'} = 'dbuser';
$db{'dbpass'} = 'dbpass';
$db{'dbtype'} = 'mysqli'; //mysql|mysqli
$C{'label'} = 'default';
$C['database'] = $db;
$C['type'] = "mysql";
$fields = array();
$fields{'table'} = "users";
$fields{'id'} = "user_id";
$fields{'UID'} = null;
$fields{'username'} = "username";
$fields{'password'} = "password";
$fields{'display_name'} = "real_name";
$fields{'email'} = null;
$fields{'auth_src'} = null;
$C['fields'] = $fields;
$C['encryption'] = "md5";
?>
